# Base Image
FROM redis:5.0

# Author
MAINTAINER c32 amd5@qq.com

#Fix Bug
#RUN echo 511 > /proc/sys/net/core/somaxconn
#RUN echo never > /sys/kernel/mm/transparent_hugepage/enabled

#Reids.conf Download Url  
#https://raw.githubusercontent.com/antirez/redis/5.0.3/redis.conf

# 默认只执行最后一条cmd命令
CMD ["redis-server", "/etc/redis/redis.conf"]